package exer;

public class gaga {
	public static int[] initUserIdArray(){
		int[] userId=new int[50];
		userId[0]=1000;
		userId[1]=1001;
		userId[2]=1002;
		userId[3]=1003;
		userId[4]=1004;
		userId[5]=1005;
		userId[6]=1006;
		userId[7]=1007;
		userId[8]=1008;
		userId[9]=1009;
		return userId;
	}
/*
 * return 返回用户年龄数组
 */
	public static int[] initUserAgeArray(){
		int[]userAge=new int[50];
		userAge[0]=18;
		userAge[1]=20;
		userAge[2]=22;
		userAge[3]=24;
		userAge[4]=26;
		userAge[5]=28;
		userAge[6]=30;
		userAge[7]=32;
		userAge[8]=34;
		userAge[9]=36;
		return userAge;
	}
/*
 * return 返回用户积分数组
 */
	public static int[] initUserJifenArray(){
		int[]userJifen=new int[50];
		userJifen[0]=10;
		userJifen[1]=20;
		userJifen[2]=30;
		userJifen[3]=40;
		userJifen[4]=50;
		userJifen[5]=60;
		userJifen[6]=70;
		userJifen[7]=80;
		userJifen[8]=90;
		userJifen[9]=100;
		return userJifen;
	}
/*
 * return 返回书籍名	
 */
	public static String[] initUserBookArray(){
		String[]userBook=new String[50];
		userBook[0]="水浒传";
		userBook[1]="红楼梦";
		userBook[2]="天才在左疯子在右";
		userBook[3]="巴黎圣母院";
		userBook[4]="意林";
		userBook[5]="红与黑";
		userBook[6]="汤姆叔叔的小屋";
		userBook[7]="麦田里的守望者";
		userBook[8]="心灵鸡汤";
		userBook[9]="明朝那些事";
		return userBook;
	}
/*
 * return 返回书籍价格
 */
	public static Double[] initUserPriceArray(){
		Double[]userPrice=new Double[50];
		userPrice[0]=23.5;
		userPrice[1]=33.3;
		userPrice[2]=58.5;
		userPrice[3]=63.9;
		userPrice[4]=31.5;
		userPrice[5]=57.5;
		userPrice[6]=10.5;
		userPrice[7]=25.5;
		userPrice[8]=9.5;
		userPrice[9]=62.5;
		return userPrice;
	}
}
